package com.pms.utils;

public class ReturnInfo {
    private String msg;
    //0--密码错误，1--正常，-1--用户名不存在
    private Integer code;
    private Object data;

    public ReturnInfo() {
    }

    public ReturnInfo(String msg, Integer code, Object data) {
        this.msg = msg;
        this.code = code;
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
